/**
 * Free software.
 */

package org.nanhill.support.hibernate.search.demo.filesearch;

import org.nanhill.commons.pattern.search.AbstractSearchCriterion;
import org.nanhill.commons.pattern.search.SearchException;
import org.nanhill.commons.pattern.search.SearchVisitor;

/**
 * @author alin [xalinx at gmail dot com]
 * @date 2006-10-27
 */
abstract class VolumeSearchCriterion extends AbstractSearchCriterion {

	public void accept(SearchVisitor visitor) throws SearchException {
		accept((VolumeSearchVisitor) visitor);
	}

	protected abstract void accept(VolumeSearchVisitor visitor)
			throws SearchException;

}
